//
//  DoctorFreeInfo.h
//  EcmDoctor
//
//  Created by 张进 on 15/7/16.
//  Copyright (c) 2015年 张进. All rights reserved.
//

#import "Jastor.h"

@interface DoctorFreeInfo : Jastor

@property(nonatomic,strong) NSString* ask_info_id;
@property(nonatomic,strong) NSString* user_info_id;
@property(nonatomic,strong) NSString* user_relation_id;
@property(nonatomic,strong) NSString* hx_id;
@property(nonatomic,strong) NSString* icon_Url;
@property(nonatomic,strong) NSString* name;
@property(nonatomic,strong) NSString* sex;
@property(nonatomic,assign) int age;
@property(nonatomic,strong) NSString* content;
@property(nonatomic,strong) NSString* voiceUrl;
@property(nonatomic,strong) NSArray* picUrl;
@property(nonatomic,strong) NSString* infodate;
@property(nonatomic,strong) NSString* info_state;
@property(nonatomic,strong) NSString* info_type;
@property(nonatomic,strong) NSString* info_money;

//类似java中的泛型，即NSArray中对象的数据类型
+(Class)picUrl_class;

+(void)getFreeInfosByDoctorId:(NSString *)doctorId success:(void (^)(NSArray *objs))success
                      failure:(void (^)(NSError *error))failure;

+(void)doctorFreeDetailWithaskId:(NSString *)askId success:(void (^)(DoctorFreeInfo *doctor))success failure:(void (^)(NSError *error))failure;

@end
